#include "db.h"

const char* default_str = "s=insert into test set blob_col='12334'";

int main(int argc, char** argv)
{
	printf("%d \n", queue_init_conf());
	
	printf("%d \n", queue_path_init());

	printf("%d \n", db_initialize());

	queue_header h;
	const char *str;
	if(argc == 1)
		str = default_str;
	else
		str = argv[1];

	h.size = strlen(str);
	printf("--- call , ret :%d \n", db_handler(&h, str));

	db_destroy();

	INI_Free(cfg);
	fini_log();
	return 0;
}


